/*
 * Copyright (c) 2019- 2019 threefish(https://gitee.com/threefish https://github.com/threefish) All Rights Reserved.
 * 本项目完全开源，商用完全免费。但请勿侵犯作者合法权益，如申请软著等。
 * 最后修改时间：2019/10/07 18:26:07
 * 源 码 地 址：https://gitee.com/threefish/NutzFw
 */

package com.glp.work.flow.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.Map;

/**
 * @author Pan Wang
 * @date: 2019/7/22
 * 流程流转轨迹
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("流程流转轨迹")
public class FlowTaskHistoryDTO {

    @ApiModelProperty("流程id")
    private String processId;
    @ApiModelProperty("任务id")
    private String taskId;
    @ApiModelProperty("任务名称")
    private String taskName;
    @ApiModelProperty("任务定义key")
    private String taskDefKey;
    @ApiModelProperty("开始时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @ApiModelProperty("结束时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @ApiModelProperty("消耗时间")
    private String timeConsuming;
    @ApiModelProperty("用户编码")
    private String assignee;
    @ApiModelProperty("用户名称")
    private String assigneeName;
    @ApiModelProperty("审批操作")
    private String auditOperation;
    @ApiModelProperty("审批操作枚举")
    private String orderStruts;
    @ApiModelProperty("审批意见")
    private String auditComment;
    @ApiModelProperty("表单名称")
    private String formName;
    @ApiModelProperty(value = "手写签字数据")
    private Map<String, String> handWritingSignatureData;
	@ApiModelProperty(value = "表单停留时间")
	String timeOnForm;
	@ApiModelProperty(value = "节点类型")
	String nodeType;
    @ApiModelProperty(value = "跳转到任务的节点id")
    String targetActivityId;

}
